package aop.service.impl;

import aop.service.UserService;
import org.springframework.stereotype.Service;

/**
 * Author：汤小洋
 * Date：2022-11-23 13:50
 * Description：<描述>
 */
@Service
public class UserServiceImpl implements UserService {
    @Override
    public void login(String username, String password) {
        System.out.println("UserServiceImpl.login:" +username+","+password);
    }

    @Override
    public String logout() {
        System.out.println("UserServiceImpl.logout");

        int i = 5/0;

        return "bytebye";
    }
}
